package com.qf.service;

import com.qf.entity.User;

import java.util.List;

public interface UserService {
    /**
     * 查询单个用户
     */

    User findOneByUser(String phone);

    boolean add(User user);

    User login(User user);


    User findOneById(Integer id);

    boolean update(User user);
}
